home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
art&graf.ix
/
art-0039
/
source
/
dcqpiccn.def
< prev
next >
Wrap
Text File
|
1997-04-16
|
2KB
|
64 lines
DEFINITION MODULE DCQPicCnv;
(*---------------------------------------------------------------------*)
(* LOW LEVEL Picture Conversion Routines For DegasConvert *)
(* *)
(* *)
(* *)
(* *)
(*---------------------------------------------------------------------*)
FROM DCGlobal IMPORT DegasPicture,
Palette,
PrintPalette,
PrintBitPatternSet,
LowRes16PixelsPtr,
LowResScreenLinePtr,
LowResScreen,
MedRes16PixelsPtr,
MedResScreenLinePtr,
MedResScreen,
HiRes16PixelsPtr,
HiResScreenLinePtr,
HiResScreen;
(*----------------------------------------------------------------------*)
(* Find out the Colour index of a low-res pixel. *)
(*----------------------------------------------------------------------*)
PROCEDURE QQryLRPIndex( PixelNo : CARDINAL;
PGPtr : LowRes16PixelsPtr ) : CARDINAL;
PROCEDURE QSetLTHPBP( StartBitno : CARDINAL;
ScreenLine1,
ScreenLine2 : HiRes16PixelsPtr;
pbp : PrintBitPatternSet );
(*----------------------------------------------------------------------*)
(* Medium resolution versions of the above *)
(*----------------------------------------------------------------------*)
(*----------------------------------------------------------------------*)
(* Find out the Colour index of a low-res pixel. *)
(*----------------------------------------------------------------------*)
PROCEDURE QQryMRPIndex ( PixelNo : CARDINAL;
PGPtr : MedRes16PixelsPtr ) : CARDINAL;
PROCEDURE QSetMTHPBP( StartBitno : CARDINAL;
ScreenLine1,
ScreenLine2 : HiRes16PixelsPtr;
pbp : PrintBitPatternSet );
PROCEDURE QQryHRPixel( x, y : CARDINAL;
VAR picture : HiResScreen ) : BOOLEAN;
PROCEDURE QQColourComp( colour : CARDINAL;
VAR red, green, blue : CARDINAL );
END DCQPicCnv.